import 'package:flame/components.dart';

import 'card.dart';

abstract class Pile extends PositionComponent {
  bool canMoveCard(List<Card> cards);

  bool canAcceptCard(List<Card> cards);

  void removeCard(List<Card> cards);

  void acquireCard(List<Card> cards);

  void returnCard(List<Card> cards);

  void handleTapUp(Card card);

  PositionComponent top();

  Future<bool> tryToMove () async {
    throw UnimplementedError();
  }
}